package reflect;

import reflect.annotations.AutoRunClass;

public class ReflectDemo9 {
    public static void main(String[] args) throws ClassNotFoundException {
        Class cls=Class.forName("reflect.Person");
        boolean mark=cls.isAnnotationPresent(AutoRunClass.class);
        System.out.println(mark?"被标注了":"没有被标注");
    }
}
